package com.zk.fm;

import java.util.List;
import com.zk.fm.entity.Player;
import com.zk.fm.entity.User;
import com.zk.fm.util.JDBCUtil;

@javax.jws.WebService(targetNamespace = "http://fm.zk.com/", serviceName = "ManagerService", portName = "ManagerPort", wsdlLocation = "WEB-INF/wsdl/ManagerService.wsdl")
public class ManagerDelegate {

	com.zk.fm.Manager manager = new com.zk.fm.Manager();

	public String getNewestVersion() {
		return manager.getNewestVersion();
	}

	public boolean login(User user) {
		return manager.login(user);
	}

	public int register(User user) {
		return manager.register(user);
	}

	public boolean isAccountExist(String account) {
		return manager.isAccountExist(account);
	}

	public boolean suggest(String account, String suggestion) {
		return manager.suggest(account, suggestion);
	}

	public List<Player> getAllPlayers(String name) {
		return manager.getAllPlayers(name);
	}

	public List<Player> getPlayersByName(String name) {
		return manager.getPlayersByName(name);
	}

}